<html>
    <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <meta name="layout" content="main" />
         <title>Grails Camelot</title>
    </head>
    <body>
        <g:render template="/globalNav"/>
        <div class="body">
            <table>
			     <tbody>
			       <g:each in="${ideaList}" var='idea'>
			            <tr>

			                    <td><g:link controller="softwareIdea" action="show" params="[permalink:idea.permalink]">${idea?.about?.encodeAsHTML()}</g:link></td>
						</tr>
			            <tr>
			                    <td>By <g:render template="/userLink" model="[user:idea.byUser]"/></td>

			            </tr>
						<tr>
							<td>
								Rating: ${idea?.rating()}
								<hr>
			                 </td>
						</tr>	
			       </g:each>
			     </tbody>
			   </table>
			       <div class="paginateButtons">
			           <g:paginate total="${total}" />
			       </div>
        </div>
    </body>
</html>
